package com.cskaoyan.mapper;

import com.cskaoyan.bean.Account;
import org.apache.ibatis.annotations.Param;

public interface AccountMapper {


    // 插入一个Account对象，并且获取数据库自增的主键Id
    int insertAccountAndReturnId(@Param("account") Account account);


    // useGeneratedKeys
    int insertAccountUserGeneratedKeys(@Param("account") Account account);
}
